﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<script type="text/javascript">
	
	$(function(){
		var url = "${baseURL}/hyjjhs";
		$.getJSON(url, function(result){
			
			$("#rig_nav").append("<li><a href='#'>核算分析</a><dl id='jjhs'>");
			$.each(result.children, function(i, obj){
				$("#jjhs").append("<dd><a href='#' onclick='changeGnq(\"" + obj.url + "\")'>" + obj.text + "</a></dd>");
			});
			$("#rig_nav").append("</dl></li>");
		});
		
	});
	
	function changeGnq(parm){//
		$("#context").empty();
		$("#context").css("height", $(this).height());
		$("#context").append("<iframe frameborder='0' style='width:100%;height:100%;' src='" + parm + "'></iframe>");
	}
	
</script>
<ul id="rig_nav">
	<li><a href="#">运行核算</a>
		<dl>
			<dd>
				<a href="${baseURL}/audit/indicatorAccountToPage">核算指标</a>
			</dd>
			<dd>
				<a href="${baseURL}/audit/indicatorInputToPage">指标数据维护</a>
			</dd>
		</dl></li>
</ul>

